﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Empresa</title>
</head>
<body style="text-align: center">
    <div>
        <table class="table table-striped">
            <thead>
                <tr class="tr-head">
                    <th class="th-center">Nombre</th>
                    <th class="th-center">Codigo</th>
                    <th class="th-center">Opciones</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {
                    <tr class="tr-body">
                        <td class="td-center" >@item.Nombre</td>
                        <td class="td-center">@item.Codigo</td>
                        <td class="td-center">@*<a href="@Url.Action("Borrar", "Empresa", new { id = item.Id })">Borrar</a>*@
                            <a href="@Url.Action("Modificar", "Empresa", new { id = item.Id })">Modificar</a>
                    </tr>
                }

            </tbody>
        </table>
        <div style="text-align: center; font-size:larger" >
            <a class="btn btn-primary btn-lg active" role="button" href="@Url.Action("Resumen", "Empresa")">RESUMEN</a>
            <a  class="btn btn-primary btn-lg active" role="button"href="@Url.Action("Agregar", "Empresa")">AGREGAR</a>
        </div>
    </div>
</body>
</html>
